package com.sf.marathon.soul.domain;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.experimental.Accessors;


/**
 * <p>
 * 寄件人与报名团关系
 * </p>
 *
 * @author mokeo
 * @since 2017-12-15
 */
@Data
@Accessors(chain = true)
@TableName("sender_group_relation")
public class SenderGroupRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 寄件人
     */
	private Long userId;
    /**
     * 集货团ID
     */
	private Long groupId;
    /**
     * 报名时间
     */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;


}
